package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: LXB
 * @date: 2023/12/21 13:41
 */
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("fireworks")
@ApiModel(value = "Fireworks对象", description = "烟花燃放表")
public class Fireworks implements Serializable {

    private static final long serialVersionUID = -847255669636384865L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * x横坐标
     */
    private String xCoordinate;
    /**
     * y纵坐标
     */
    private String yCoordinate;
    /**
     * 烟花类型ID
     */
    private Integer fireworksConfigId;
    /**
     * 燃放的用户ID
     */
    private String nuserId;
    /**
     * 愿望ID
     */
    private Integer wishConfigId;

    /**
     * 新用户燃放(0否1是)
     */
    private Boolean newUserSetOff;

    /**
     * 燃放时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 燃放更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

}
